package com.novel.bean;
/**
 * @ClassName:	novelcontent.java
 * @Description:	小说内容类(对应数据库中的novelcontent)
 * 
 * @author 作者：YF E-mail：
 * @version		V1.0
 * @Date 创建时间	2019年12月29日上午10:59:06
 *
 */
public class Novelcontent {
	private int id;//小说内容id
	private int bookid;//小说id
	private String uploadtime;//上传时间
	private String lastupdatetime;//最后更新时间
	private int wordnumber;//字数
	private int readnumber;//阅读次数
	private String authorname;//作者名字
	private int chapternumber;//章节数
	private String booktitle;//章节标题
	private String totaltitle;//章节数+标题
	private String chaptercontent;//章节内容
	
	public Novelcontent() {
		super();
	}

	public Novelcontent(int id, int bookid, String uploadtime, String lastupdatetime, int wordnumber, int readnumber,
			String authorname, int chapternumber, String booktitle, String totaltitle,String chaptercontent) {
		this.id = id;
		this.bookid = bookid;
		this.uploadtime = uploadtime;
		this.lastupdatetime = lastupdatetime;
		this.wordnumber = wordnumber;
		this.readnumber = readnumber;
		this.authorname = authorname;
		this.chapternumber = chapternumber;
		this.booktitle = booktitle;
		this.totaltitle = totaltitle;
		this.chaptercontent=chaptercontent;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getBookid() {
		return bookid;
	}

	public void setBookid(int bookid) {
		this.bookid = bookid;
	}

	public String getUploadtime() {
		return uploadtime;
	}

	public void setUploadtime(String uploadtime) {
		this.uploadtime = uploadtime;
	}

	public String getLastupdatetime() {
		return lastupdatetime;
	}

	public void setLastupdatetime(String lastupdatetime) {
		this.lastupdatetime = lastupdatetime;
	}

	public int getWordnumber() {
		return wordnumber;
	}

	public void setWordnumber(int wordnumber) {
		this.wordnumber = wordnumber;
	}

	public int getReadnumber() {
		return readnumber;
	}

	public void setReadnumber(int readnumber) {
		this.readnumber = readnumber;
	}

	public String getAuthorname() {
		return authorname;
	}

	public void setAuthorname(String authorname) {
		this.authorname = authorname;
	}

	public int getChapternumber() {
		return chapternumber;
	}

	public void setChapternumber(int chapternumber) {
		this.chapternumber = chapternumber;
	}

	public String getBooktitle() {
		return booktitle;
	}

	public void setBooktitle(String booktitle) {
		this.booktitle = booktitle;
	}

	public String getTotaltitle() {
		return totaltitle;
	}

	public void setTotaltitle(String totaltitle) {
		this.totaltitle = totaltitle;
	}

	public String getChaptercontent() {
		return chaptercontent;
	}

	public void setChaptercontent(String chaptercontent) {
		this.chaptercontent = chaptercontent;
	}

	@Override
	public String toString() {
		return "[id=" + id + ", bookid=" + bookid + ", uploadtime=" + uploadtime + ", lastupdatetime="
				+ lastupdatetime + ", wordnumber=" + wordnumber + ", readnumber=" + readnumber + ", authorname="
				+ authorname + ", chapternumber=" + chapternumber + ", booktitle=" + booktitle + ", totaltitle="
				+ totaltitle + ", chaptercontent=" + chaptercontent + "]";
	}

	
	
	
	
	
	
}
